Skip to content

Fixes compilation of example on nixos#1993

Open
Niedzwiedzw wants to merge 1 commit intopop-os:masterfrom
Niedzwiedzw:master
Open

Fixes compilation of example on nixos#1993
Niedzwiedzw wants to merge 1 commit intopop-os:masterfrom
Niedzwiedzw:master

Conversation

@Niedzwiedzw
Copy link

Fixes #1992

@jacobgkau jacobgkau requested review from a team February 19, 2026 21:49
@garrettjwilke
Copy link

hello! i am trying to test this, but i am unsure the correct steps.

i am very unfamiliar with proper nix steps and setup...can you provide details for me to get this built in a nix environment?

thanks! :)

@Niedzwiedzw
Copy link
Author

so if you have nix package manager you should be able to just run 'nix develop' when cd'd here and everything should be set up (all dependencies downloaded and symlinked so that they are in $PATH)

@garrettjwilke
Copy link

added nix package manager, and attempted nix develop with this PR checked out:

error: experimental Nix feature `nix-command` is disabled; add `--extra-experimental-features nix-command` to enable it

so i ran:

nix --extra-experimental-features nix-command develop

it gave this:

error: experimental Nix feature `flakes` is disabled; add `--extra-experimental-features flakes` to enable it

next ran this:

nix --extra-experimental-features nix-command develop --extra-experimental-features flakes

it then added everything required presumably...but the build failed:

cargo run --example customized-window-decorations

and it built mostly and at the end gave this error (see attached nix.txt)
nix.txt

so i am unsure if this is "working" or not :)

it was not as simple as running nix develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unable to find library -lgbm

2 participants